package org.dao;

import java.util.Date;
import java.util.List;

import org.bean.O2rankgame;

public interface GameDao {

	@SuppressWarnings("rawtypes")
	public List queryForPageGameForUid(final String hql,final int offset,final int length);
	
	public int getAllRowCount(String hql);  
	
	public O2rankgame SelectLastGameTimeByUid(int uid);
	
	public O2rankgame SelectByid(int id);
	
	public List<O2rankgame> SelectUserHistoryCapable(final String hql);
	
	public List<O2rankgame> SelectTopCapable(final String hql);
	
	public List<O2rankgame> selectSongsTopByMid(final String hql);
	
	public List<O2rankgame> selectSongsTopByName(final String hql);
}
